<?php
/*
文件名:page.addtext.html
编译日期:2013-08-14 14:12:05
文件大小:1.697KB
作者:边缘狂人, QQ:124181646*/
?><?php include(APP_PATH."data/compile/admin^header.inc.html"); ?>




<form method="post" action="" id="myform" name="listForm"  onSubmit="return Validator.Validate(this,2)">

<div class="list-div" id="listDiv">
  <table cellpadding="3" cellspacing="1">
    <tr>
        <th style="text-align:left;" colspan="2"><?php echo $lang["comm"]["add"];?>小文字</th>            	
    </tr>
   
	<tr>
        <td>备注</td>
        <td><input type="text" name="title" value="<?php echo $rs["title"];?>" class="input" /></td>
    </tr>
	<tr>
        <td>唯一标记</td>
        <td><input type="text" name="tag" value="<?php echo $rs["tag"];?>" class="input" /></td>
    </tr>
	
	<?php if( isset($_GET['code'])){?>
	<tr>
        <td>内容  <a href='<?php echo __smarty__url(array('m'=>"addtext")); ?>'>编辑器模式</a></td>
        <td><textarea name="content" style='width:500px;height:100px;'></textarea></td>
    </tr>
	<?php }else{?>
	<tr>
        <td>内容 <a href='<?php echo __smarty__url(array('m'=>"addtext",'code'=>1)); ?>'>代码模式</a></td>
        <td><?php echo $fck;?></td>
    </tr>

	<?php } ?>
	
  </table>  
 
</div>
 <center><input  class="button" id="submit" formid="myform" value="<?php echo $lang["comm"]["submit"];?>" type="submit"/>&nbsp;

     <input class="button" value="<?php echo $lang["comm"]["cancel"];?>" type="button" onclick="history.back()"/>&nbsp;
     </center>    
	 
	  <input value="do<?php echo M;?>" type="hidden" name="m"/>
	  <input value="<?php echo $rs["id"];?>" type="hidden" name="id"/>
	  <input value="<?php echo $nav["id"];?>" type="hidden" name="nav_id"/>
</form>
  


<?php include(APP_PATH."data/compile/admin^footer.inc.html"); ?>